<template>
  <div id="top-header" class="top-header">
    <dv-decoration-8 class="header-left-decoration" />
    <dv-decoration-5 class="header-center-decoration" />
    <dv-decoration-8 class="header-right-decoration" :reverse="true" />
    <div class="center-title">流域洪旱灾害预警系统</div>
  </div>
</template>

<script>
export default {
  name: "TopHeader",
};
</script>

<style >
.top-header {
  position: relative;
  width: 100%;
  height: 100px;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
}
.top-header .header-center-decoration {
  width: 40% !important;
  height: 50px !important;
  margin-top: 30px !important;
}

.top-header .header-left-decoration,
.header-right-decoration {
  width: 30% !important;
  height: 60px !important;
}

.top-header .center-title {
  position: absolute;
  font-size: 30px;
  font-weight: bold;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
}
</style>
